home *** CD-ROM | disk | FTP | other *** search
/ Scene 96 / Scene 96 International Edition (Zyklop Software) (Disc 2) (1997).iso / misc / coding / midas060 / doc / src / common / latex2ht < prev    next >
Encoding:
Text File  |  1996-12-28  |  7.1 KB  |  195 lines

  1. #LaTeX2HTML Version 96.1 : dot.latex2html-init
  2. #
  3. ### Command Line Argument Defaults #######################################
  4.  
  5. $MAX_SPLIT_DEPTH = 8;    # Stop making separate files at this depth
  6.  
  7. $MAX_LINK_DEPTH = 4;    # Stop showing child nodes at this depth   
  8.  
  9. $NOLATEX = 0;           # 1 = do not pass unknown environments to Latex
  10.  
  11. $EXTERNAL_IMAGES = 0;   # 1 = leave the images outside the document 
  12.  
  13. $ASCII_MODE = 0;        # 1 = do not use any icons or internal images
  14.  
  15. # 1 =  use links to external postscript images rather than inlined GIF's.
  16. $PS_IMAGES = 0;
  17.  
  18. $TITLE = $default_title;      # The default is "No Title" 
  19.  
  20. $DESTDIR = '';         # Put the result in this directory 
  21.  
  22. # When this is set, the generated HTML files will be placed in the 
  23. # current directory. If set to 0 the default behaviour is to create (or reuse)
  24. # another file directory.
  25. $NO_SUBDIR = 0;
  26.  
  27.  
  28. # Supply your own string if you don't like the default <Name> <Date>
  29. $ADDRESS = "<I>$address_data[0] <BR>\n$address_data[1]</I>";
  30.  
  31. $NO_NAVIGATION = 0;    # 1 = do not put a navigation panel at the top of each page
  32.  
  33. # Put navigation links at the top of each  page.  If  the page  exceeds
  34. # $WORDS_IN_PAGE  number of words then put one at the bottom of the page.
  35. $AUTO_NAVIGATION = 1;
  36.  
  37. # Put a link to the index page in  the  navigation  panel
  38. $INDEX_IN_NAVIGATION = 1;
  39.  
  40. # Put a link to the table of contents  in  the  navigation  panel
  41. $CONTENTS_IN_NAVIGATION = 1;
  42.  
  43. # Put a link to the next logical page  in  the  navigation  panel
  44. $NEXT_PAGE_IN_NAVIGATION = 1;
  45.  
  46. # Put a link to the previous logical page  in  the  navigation  panel
  47. $PREVIOUS_PAGE_IN_NAVIGATION = 1;
  48.  
  49. $INFO = 1;              # 0 = do not make a "About this document..." section 
  50.  
  51. # Reuse images generated during previous runs
  52. $REUSE = 2;
  53.  
  54. # When this is 1, the section numbers are shown. The section numbers should 
  55. # then match those that would have bee produced by LaTeX.
  56. # The correct section numbers are obtained from the $FILE.aux file generated 
  57. # by LaTeX.
  58. # Hiding the seciton numbers encourages use of particular sections 
  59. # as standalone documents. In this case the cross reference to a section 
  60. # is shown using the default symbol rather than the section number.
  61. $SHOW_SECTION_NUMBERS = 0;
  62.  
  63. ### Other global variables ###############################################
  64. $CHILDLINE = "<BR> <HR>\n";
  65.  
  66. # This is the line width measured in pixels and it is used to right justify
  67. # equations and equation arrays; 
  68. $LINE_WIDTH = 500;        
  69.  
  70. # Used in conjunction with AUTO_NAVIGATION
  71. $WORDS_IN_PAGE = 300;    
  72.  
  73. # Affects ONLY the way accents are processed 
  74. $default_language = 'english';    
  75.  
  76. # The value of this variable determines how many words to use in each 
  77. # title that is added to the navigation panel (see below)
  78. $WORDS_IN_NAVIGATION_PANEL_TITLES = 4;
  79.  
  80. # This number will determine the size of the equations, special characters,
  81. # and anything which will be converted into an inlined image
  82. # *except* "image generating environments" such as "figure", "table" 
  83. # or "minipage".
  84. # Effective values are those greater than 0.
  85. # Sensible values are between 0.1 - 4.
  86. $MATH_SCALE_FACTOR = 1.6;
  87.  
  88. # This number will determine the size of 
  89. # image generating environments such as "figure", "table" or "minipage".
  90. # Effective values are those greater than 0.
  91. # Sensible values are between 0.1 - 4.
  92. $FIGURE_SCALE_FACTOR = 1.6;
  93.  
  94.  
  95. #  If this is set then intermediate files are left for later inspection.
  96. #  This includes $$_images.tex and $$_images.log created during image
  97. #  conversion.
  98. #  Caution: Intermediate files can be *enormous*.
  99. $DEBUG = 0;
  100.  
  101. #  If both of the following two variables are set then the "Up" button
  102. #  of the navigation panel in the first node/page of a converted document
  103. #  will point to $EXTERNAL_UP_LINK. $EXTERNAL_UP_TITLE should be set
  104. #  to some text which describes this external link.
  105. $EXTERNAL_UP_LINK = "";
  106. $EXTERNAL_UP_TITLE = "";
  107.  
  108. # If this is set then the resulting HTML will look marginally better if viewed 
  109. # with Netscape.
  110. $NETSCAPE_HTML = 0;
  111.  
  112. # Valid paper sizes are "letter", "legal", "a4","a3","a2" and "a0"
  113. # Paper sizes has no effect other than in the time it takes to create inlined
  114. # images and in whether large images can be created at all ie
  115. #  - larger paper sizes *MAY* help with large image problems 
  116. #  - smaller paper sizes are quicker to handle
  117. $PAPERSIZE = "a4";
  118.  
  119. # Replace "english" with another language in order to tell LaTeX2HTML that you 
  120. # want some generated section titles (eg "Table of Contents" or "References")
  121. # to appear in a different language. Currently only "english" and "french"
  122. # is supported but it is very easy to add your own. See the example in the
  123. # file "latex2html.config" 
  124. $TITLES_LANGUAGE = "english";
  125.  
  126. ### Navigation Panel ##########################################################
  127. #
  128. # The navigation panel is constructed out of buttons and section titles.
  129. # These can be configured in any combination with arbitrary text and 
  130. # HTML tags interspersed between them. 
  131. # The buttons available are:
  132. # $PREVIOUS - points to the previous section
  133. # $UP  - points up to the "parent" section
  134. # $NEXT - points to the next section
  135. # $NEXT_GROUP - points to the next "group" section
  136. # $PREVIOUS_GROUP - points to the previous "group" section
  137. # $CONTENTS - points to the contents page if there is one
  138. # $INDEX - points to the index page if there is one
  139. #
  140. # If the corresponding section exists the button will contain an
  141. # active link to that section. If the corresponding section does
  142. # not exist the button will be inactive.
  143. #
  144. # Also for each of the $PREVIOUS $UP $NEXT $NEXT_GROUP and $PREVIOUS_GROUP
  145. # buttons there are equivalent $PREVIOUS_TITLE, $UP_TITLE, etc variables
  146. # which contain the titles of their corresponding sections. 
  147. # Each title is empty if there is no corresponding section.
  148. #
  149. # The subroutine below constructs the navigation panels in each page.
  150. # Feel free to mix and match buttons, titles, your own text, your logos,
  151. # and arbitrary HTML (the "." is the Perl concatenation operator).
  152. sub top_navigation_panel {
  153.  
  154.     # Now add a few buttons with a space between them
  155.     "$NEXT $UP $PREVIOUS $CONTENTS $INDEX $CUSTOM_BUTTONS" .
  156.     
  157.     "<BR>\n" .        # Line break
  158.     
  159.     # If ``next'' section exists, add its title to the navigation panel
  160.     ($NEXT_TITLE ? "<B> Next:</B> $NEXT_TITLE\n" : undef) . 
  161.     
  162.     # Similarly with the ``up'' title ...
  163.     ($UP_TITLE ? "<B>Up:</B> $UP_TITLE\n" : undef) . 
  164.  
  165.     # ... and the ``previous'' title
  166.     ($PREVIOUS_TITLE ? "<B> Previous:</B> $PREVIOUS_TITLE\n" : undef) .
  167.    
  168.     #  Line Break, horizontal rule (3-d dividing line) and new paragraph  
  169.     "<BR> <P>\n"        
  170. }
  171.  
  172. sub bot_navigation_panel {
  173.  
  174.     #  Start with a horizontal rule (3-d dividing line)
  175.     "<HR>".            
  176.     
  177.     # Now add a few buttons with a space between them
  178.     "$NEXT $UP $PREVIOUS $CONTENTS $INDEX $CUSTOM_BUTTONS" .
  179.     
  180.     "<BR>\n" .        # Line break
  181.     
  182.     # If ``next'' section exists, add its title to the navigation panel
  183.     ($NEXT_TITLE ? "<B> Next:</B> $NEXT_TITLE\n" : undef) . 
  184.     
  185.     # Similarly with the ``up'' title ...
  186.     ($UP_TITLE ? "<B>Up:</B> $UP_TITLE\n" : undef) . 
  187.  
  188.     # ... and the ``previous'' title
  189.     ($PREVIOUS_TITLE ? "<B> Previous:</B> $PREVIOUS_TITLE\n" : undef) 
  190.    
  191. }
  192.  
  193. 1;    # This must be the last line
  194.